package com.xqboss.apps.domain.user;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2024-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserWrenchProductionRecord对象", description="")
public class UserWrenchProductionRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 扳手生产配置id
     */
    @ApiModelProperty(value = "扳手生产配置id")
    private Long permWrenchProductionId;

    /**
     * 启动时间
     */
    @ApiModelProperty(value = "启动时间")
    private LocalDateTime startTime;
    /**
     * 热豆消耗
     */
    @ApiModelProperty(value = "热豆消耗")
    private BigDecimal expendHotBeans;

    /**
     * 身份段位名称
     */
    @ApiModelProperty(value = "身份段位名称")
    private  String identityName;

    /**
     * 预计产出扳手
     */
    @ApiModelProperty(value = "预计产出扳手")
    private BigDecimal predictOutputWrench;

    /**
     * 当前状态(1生产中,2完工待领取,3完工已领取)
     */
    @ApiModelProperty(value = "当前状态(1生产中,2完工待领取,3完工已领取,4提前领取,5结算中)")
    private Integer status;

    /**
     * 实际领取扳手数量
     */
    @ApiModelProperty(value = "实际领取扳手数量")
    private BigDecimal getAmount;

    /**
     * 预计生产周期(天)
     */
    @ApiModelProperty(value = "预计生产周期(天)")
    private Integer predictDay;

    /**
     * 实际结束时间
     */
    @ApiModelProperty(value = "实际结束时间")
    private LocalDateTime endTime;


}
